package com.hj.user.controller;

import com.hj.user.domain.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("user")
public class UserController {

    @GetMapping("/info")
    public User userInfo(){
        return new User(1L,"胡健","123456");
    }
}
